// Copyright (c) Appeon. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. 
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

namespace SnapObjects.Data
{
    public interface ISetValue
    {
        /// <summary>
        ///     Gets the string that represents a property in the model class at the same level.
        /// </summary>
        string Source { get; }

        /// <summary>
        ///     Gets the string that represents a property in the model class at one level lower.
        /// </summary>
        string Target { get; }

        /// <summary>
        ///     Gets a SetValueStrategy enumerated value which determines when to set value.
        /// </summary>
        SetValueStrategy SetValueStrategy { get; }

        /// <summary>
        ///     Gets a ModelSelector enumerated value which determines whether to set 
        ///     value by the data state in the embedded model.
        /// </summary>
        ModelSelector ModelSelector { get; }
    }
}
